FHIR © HL7.org  |  Server Home  |  FHIR Server FHIR Server 3.7.16  |  FHIR Version n/a  User: [n/a]

Resource StructureDefinition/FHIR Server from package test.fhir#0.0.1-test (109 ms)

Package test.fhir
Type StructureDefinition
Id Id
FHIR Version R4
Source https://simplifier.net/resolve?scope=test.fhir@0.0.1-test&canonical=http://StructureDefinition.hl7fhir.cn/OrganizationAffiliation
Url http://StructureDefinition.hl7fhir.cn/OrganizationAffiliation
Status draft
Name OrganizationAffiliation
Title 机构关系
Experimental False
Type OrganizationAffiliation
Kind resource

Resources that use this resource

No resources found


Resources that this resource uses

No resources found



Source

{
  "resourceType" : "StructureDefinition",
  "id" : "1",
  "meta" : {
    "versionId" : "1",
    "lastUpdated" : "2020-05-11T06:32:26.2557434+00:00"
  },
  "url" : "http://StructureDefinition.hl7fhir.cn/OrganizationAffiliation",
  "name" : "OrganizationAffiliation",
  "title" : "机构关系",
  "status" : "draft",
  "fhirVersion" : "4.0.0",
  "mapping" : [
    {
      "identity" : "rim",
      "uri" : "http://hl7.org/v3",
      "name" : "RIM Mapping"
    },
    {
      "identity" : "w5",
      "uri" : "http://hl7.org/fhir/fivews",
      "name" : "FiveWs Pattern Mapping"
    }
  ],
  "kind" : "resource",
  "abstract" : false,
  "type" : "OrganizationAffiliation",
  "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/OrganizationAffiliation",
  "derivation" : "constraint",
  "snapshot" : {
    "element" : [
      {
        "id" : "OrganizationAffiliation",
        "path" : "OrganizationAffiliation",
        "short" : "定义两个不同组织之间的关联/关系,这不是指整体与部分的关系,也不是指主从部门关系。",
        "definition" : "两个独立的业务组织在一段时间内的关系(不是指整体与部分的关系,也不是指主从部门关系,如,帮扶医院、学科合作)。",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "OrganizationAffiliation",
          "min" : 0,
          "max" : "*"
        },
        "constraint" : [
          {
            "key" : "dom-2",
            "severity" : "error",
            "human" : "If the resource is contained in another resource, it SHALL NOT contain nested Resources",
            "expression" : "contained.contained.empty()",
            "xpath" : "not(parent::f:contained and f:contained)",
            "source" : "http://hl7.org/fhir/StructureDefinition/DomainResource"
          },
          {
            "key" : "dom-3",
            "severity" : "error",
            "human" : "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource",
            "expression" : "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()",
            "xpath" : "not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))",
            "source" : "http://hl7.org/fhir/StructureDefinition/DomainResource"
          },
          {
            "key" : "dom-4",
            "severity" : "error",
            "human" : "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated",
            "expression" : "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()",
            "xpath" : "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))",
            "source" : "http://hl7.org/fhir/StructureDefinition/DomainResource"
          },
          {
            "key" : "dom-5",
            "severity" : "error",
            "human" : "If a resource is contained in another resource, it SHALL NOT have a security label",
            "expression" : "contained.meta.security.empty()",
            "xpath" : "not(exists(f:contained/*/f:meta/f:security))",
            "source" : "http://hl7.org/fhir/StructureDefinition/DomainResource"
          },
          {
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice",
                "valueBoolean" : true
              },
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation",
                "valueMarkdown" : "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time."
              }
            ],
            "key" : "dom-6",
            "severity" : "warning",
            "human" : "A resource should have narrative for robust management",
            "expression" : "text.`div`.exists()",
            "xpath" : "exists(f:text/h:div)",
            "source" : "http://hl7.org/fhir/StructureDefinition/DomainResource"
          }
        ],
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "Entity. Role, or Act"
          },
          {
            "identity" : "rim",
            "map" : "Role"
          }
        ]
      },
      {
        "id" : "OrganizationAffiliation.identifier",
        "path" : "OrganizationAffiliation.identifier",
        "short" : "Business identifiers that are specific to this role",
        "definition" : "Business identifiers that are specific to this role.",
        "requirements" : "Often, specific identities are assigned for the agent.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "OrganizationAffiliation.identifier",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Identifier"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "isModifier" : false,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "w5",
            "map" : "FiveWs.identifier"
          },
          {
            "identity" : "rim",
            "map" : ".id"
          }
        ]
      },
      {
        "id" : "OrganizationAffiliation.active",
        "path" : "OrganizationAffiliation.active",
        "short" : "Whether this organization affiliation record is in active use",
        "definition" : "Whether this organization affiliation record is in active use.",
        "comment" : "If this value is false, you may refer to the period to see when the role was in active use. If there is no period specified, no inference can be made about when it was active.",
        "requirements" : "Need to be able to mark an organization affiliation record as not to be used because it was created in error, or otherwise no longer in active use.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "OrganizationAffiliation.active",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "boolean"
          }
        ],
        "meaningWhenMissing" : "This resource is generally assumed to be active if no value is provided for the active element",
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "isModifier" : false,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "w5",
            "map" : "FiveWs.status"
          },
          {
            "identity" : "rim",
            "map" : ".statusCode"
          }
        ]
      },
      {
        "id" : "OrganizationAffiliation.period",
        "path" : "OrganizationAffiliation.period",
        "short" : "The period during which the participatingOrganization is affiliated with the primary organization",
        "definition" : "The period during which the participatingOrganization is affiliated with the primary organization.",
        "requirements" : "An affiliation may be created ahead of time and only be active for a defined period of time. Once the affiliation is complete, the fact that it existed may still be required.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "OrganizationAffiliation.period",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Period"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "isModifier" : false,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "w5",
            "map" : "FiveWs.done[x]"
          },
          {
            "identity" : "rim",
            "map" : ".performance[@typeCode <= 'PPRF'].ActDefinitionOrEvent.effectiveTime"
          }
        ]
      },
      {
        "id" : "OrganizationAffiliation.organization",
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
            "valueCode" : "normative"
          },
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
            "valueCode" : "4.0.0"
          }
        ],
        "path" : "OrganizationAffiliation.organization",
        "short" : "Organization where the role is available",
        "definition" : "Organization where the role is available (primary organization/has members).",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "OrganizationAffiliation.organization",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Reference",
            "targetProfile" : [
              "http://StructureDefinition.hl7fhir.cn/Organization"
            ]
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "isModifier" : false,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : ".scoper"
          }
        ]
      },
      {
        "id" : "OrganizationAffiliation.participatingOrganization",
        "path" : "OrganizationAffiliation.participatingOrganization",
        "short" : "Organization that provides/performs the role (e.g. providing services or is a member of)",
        "definition" : "The Participating Organization provides/performs the role(s) defined by the code to the Primary Organization (e.g. providing services or is a member of).",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "OrganizationAffiliation.participatingOrganization",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Reference",
            "targetProfile" : [
              "http://hl7.org/fhir/StructureDefinition/Organization"
            ]
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "isModifier" : false,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : ".player"
          }
        ]
      },
      {
        "id" : "OrganizationAffiliation.network",
        "path" : "OrganizationAffiliation.network",
        "short" : "Health insurance provider network in which the participatingOrganization provides the role's services (if defined) at the indicated locations (if defined)",
        "definition" : "Health insurance provider network in which the participatingOrganization provides the role's services (if defined) at the indicated locations (if defined).",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "OrganizationAffiliation.network",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Reference",
            "targetProfile" : [
              "http://hl7.org/fhir/StructureDefinition/Organization"
            ]
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "isModifier" : false,
        "isSummary" : true
      },
      {
        "id" : "OrganizationAffiliation.code",
        "path" : "OrganizationAffiliation.code",
        "short" : "Definition of the role the participatingOrganization plays",
        "definition" : "Definition of the role the participatingOrganization plays in the association.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "OrganizationAffiliation.code",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "CodeableConcept"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "isModifier" : false,
        "isSummary" : true,
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "OrganizationAffiliation"
            }
          ],
          "strength" : "example",
          "description" : "The role the participating organization providing services to the primary organization.",
          "valueSet" : "http://hl7.org/fhir/ValueSet/organization-role"
        },
        "mapping" : [
          {
            "identity" : "rim",
            "map" : ".code"
          }
        ]
      },
      {
        "id" : "OrganizationAffiliation.specialty",
        "path" : "OrganizationAffiliation.specialty",
        "short" : "Specific specialty of the participatingOrganization in the context of the role",
        "definition" : "Specific specialty of the participatingOrganization in the context of the role.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "OrganizationAffiliation.specialty",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "CodeableConcept"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "isModifier" : false,
        "isSummary" : true,
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "OrganizationSpecialty"
            }
          ],
          "strength" : "preferred",
          "description" : "Specific specialty associated with the participating organization.",
          "valueSet" : "http://hl7.org/fhir/ValueSet/c80-practice-codes"
        },
        "mapping" : [
          {
            "identity" : "rim",
            "map" : ".player.HealthCareProvider[@classCode = 'PROV'].code"
          }
        ]
      },
      {
        "id" : "OrganizationAffiliation.location",
        "path" : "OrganizationAffiliation.location",
        "short" : "The location(s) at which the role occurs",
        "definition" : "The location(s) at which the role occurs.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "OrganizationAffiliation.location",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Reference",
            "targetProfile" : [
              "http://hl7.org/fhir/StructureDefinition/Location"
            ]
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "isModifier" : false,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "w5",
            "map" : "FiveWs.where[x]"
          },
          {
            "identity" : "rim",
            "map" : ".performance.ActDefinitionOrEvent.ServiceDeliveryLocation[@classCode = 'SDLOC']"
          }
        ]
      },
      {
        "id" : "OrganizationAffiliation.healthcareService",
        "path" : "OrganizationAffiliation.healthcareService",
        "short" : "Healthcare services provided through the role",
        "definition" : "Healthcare services provided through the role.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "OrganizationAffiliation.healthcareService",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Reference",
            "targetProfile" : [
              "http://hl7.org/fhir/StructureDefinition/HealthcareService"
            ]
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : ".player.QualifiedEntity[@classCode = 'QUAL'].code"
          }
        ]
      },
      {
        "id" : "OrganizationAffiliation.telecom",
        "path" : "OrganizationAffiliation.telecom",
        "short" : "Contact details at the participatingOrganization relevant to this Affiliation",
        "definition" : "Contact details at the participatingOrganization relevant to this Affiliation.",
        "requirements" : "Sometimes a participating organization provides dedicated contacts to handle enquiries specifically for the role provided to the affiliated organization.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "OrganizationAffiliation.telecom",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "ContactPoint"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "isModifier" : false,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : ".telecom"
          }
        ]
      },
      {
        "id" : "OrganizationAffiliation.endpoint",
        "path" : "OrganizationAffiliation.endpoint",
        "short" : "Technical endpoints providing access to services operated for this role",
        "definition" : "Technical endpoints providing access to services operated for this role.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "OrganizationAffiliation.endpoint",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Reference",
            "targetProfile" : [
              "http://hl7.org/fhir/StructureDefinition/Endpoint"
            ]
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      }
    ]
  },
  "differential" : {
    "element" : [
      {
        "id" : "OrganizationAffiliation",
        "path" : "OrganizationAffiliation",
        "short" : "定义两个不同组织之间的关联/关系,这不是指整体与部分的关系,也不是指主从部门关系。",
        "definition" : "两个独立的业务组织在一段时间内的关系(不是指整体与部分的关系,也不是指主从部门关系,如,帮扶医院、学科合作)。"
      },
      {
        "id" : "OrganizationAffiliation.organization",
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
            "valueCode" : "normative"
          },
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
            "valueCode" : "4.0.0"
          }
        ],
        "path" : "OrganizationAffiliation.organization",
        "type" : [
          {
            "code" : "Reference",
            "targetProfile" : [
              "http://StructureDefinition.hl7fhir.cn/Organization"
            ]
          }
        ]
      }
    ]
  },
  "text" : {
  }
}

XIG built as of ??metadata-date??. Found ??metadata-resources?? resources in ??metadata-packages?? packages.